projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5caa76c
)
Silence more compiler warnings
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 30 Jan 2011 06:52:55 +0000
(
01:52
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 30 Jan 2011 06:52:55 +0000
(
01:52
-0500)
gtk/tests/treeview-scrolling.c
patch
|
blob
|
history
diff --git
a/gtk/tests/treeview-scrolling.c
b/gtk/tests/treeview-scrolling.c
index 91ed786cb3fb0f6ac555d4988c927d1673a799b3..63bf429fdc99e15e8935fecf5d17fcb8c025f07e 100644
(file)
--- a/
gtk/tests/treeview-scrolling.c
+++ b/
gtk/tests/treeview-scrolling.c
@@
-778,13
+778,10
@@
test_editable_position (GtkWidget *tree_view,
{
GtkAllocation allocation;
GdkRectangle rect;
- GtkAdjustment *vadjustment;
gtk_tree_view_get_background_area (GTK_TREE_VIEW (tree_view),
cursor_path, NULL, &rect);
- vadjustment = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (tree_view));
-
/* There are all in bin_window coordinates */
gtk_widget_get_allocation (editable, &allocation);
g_assert (allocation.y == rect.y + ((rect.height - allocation.height) / 2));